Skip to main content

List Ticket Comments

AutomatR.Zendesk.Activities.ListTicketComments

The "List Ticket Comments" activity in AutomatR is part of the Zendesk activities package, enabling users to retrieve a list of comments associated with a specific ticket in Zendesk. This activity streamlines the process of accessing and managing ticket comments within automation workflows.

Properties

NameDescription
Input
Ticket IDSpecifies the unique identification number of the ticket for which you want to retrieve comments. Enter an Int32 or an Int32 variable representing the ticket ID.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds i.e., 5) to start the activity.
Output
ResultOutputs the list of ticket comments associated with the specified ticket ID. This field supports only Ticket_comments[] as the output type. Variables of relevant types (e.g., IList<ZendeskApi_v2.Models.Tickets.Comment>) to store the list of comments.

How to use:

  1. Drag and drop the "List Ticket Comments" activity onto the workflow.
  2. Configure the properties by specifying the ticket ID for which you want to retrieve comments.
  3. Optionally, configure the delay.
  4. Execute the workflow to retrieve the list of comments associated with the specified ticket.

Example:

Consider an example where the "List Ticket Comments" activity is used to retrieve comments for a ticket with ID 123:

List Ticket Comments:
Ticket ID: 123
Delay: 0
Result: ticketComments

In this example, the activity retrieves comments for the ticket with ID 123 and stores the list of comments in the variable "ticketComments" for further processing in the workflow.